package com.crud.generator.generator;

import lombok.Builder;
import lombok.Value;

/**
 * 代码生成可选功能开关
 */
@Value
@Builder
public class GenerationOptions {

    @Builder.Default
    boolean enableSecurity = false;

    @Builder.Default
    boolean enableRedis = false;

    public static GenerationOptions defaults() {
        return GenerationOptions.builder().build();
    }
}
